package com.yu.serviceImpl;

import com.yu.config.result.BackResult;
import com.yu.domain.loginUser.param.UserParam;
import com.yu.service.UserService;
import org.springframework.stereotype.Service;

@Service
public class UserServiceConstruction {

    private final UserService userService;

    public UserServiceConstruction(UserService userService) {
        this.userService = userService;
    }

    public BackResult pageList(UserParam param){
       return BackResult.ok(userService.pageList(param));
    }


}
